package cn.jiyun.controller;

import cn.jiyun.feign.TypeFeign;
import cn.jiyun.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author 季乾帅
 * @create 2023/8/25 14:08
 */
@RestController
@RequestMapping("/type")
public class TypeController {


    @Autowired
    TypeFeign typeFeign;

    @RequestMapping("/findType")
    public Result findType() {
        return typeFeign.findType();
    }
}
